package com.powernode.spring6.service;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@Configuration   // 代替spring.xml文件的
@ComponentScan({"com.powernode.spring6.service"})  // 组件扫描
@EnableAspectJAutoProxy(proxyTargetClass = true)  // 启动aspectj的自动代理机制
public class Spring6Config {
}
